import com.feng.fengDUtil.FengD;
import com.zaxxer.hikari.HikariDataSource;

public class FengDFac {

  public static FengD getFengD() {
    HikariDataSource ds = new HikariDataSource();
    ds.setJdbcUrl(
        "jdbc:mysql://localhost:3306/community_service?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=GMT%2B8");
    ds.setUsername("root");
    ds.setPassword("123456");
    /*ds.setDriverClassName("com.mysql.cj.jdbc.Driver");*/
    FengD fengD = new FengD(ds, false);
    return fengD;
  }
}
